class CreateCandidates < ActiveRecord::Migration
  def change
    create_table :candidates do |t|
      t.integer :org_id
      t.string :name
      t.string :sex
      t.string :photo
      t.datetime :birthday
      t.datetime :startwork_day
      t.string :last_edu
      t.datetime :last_edu_day
      t.string :last_degree
      t.datetime :last_degree_day
      t.string :study_subject
      t.string :now_job
      t.datetime :now_job_day
      t.string :will_job
      t.string :typenote
      t.text :note

      t.timestamps
    end
  end
end
